﻿
namespace RoughHtml.w3c
{
    public abstract class SiblingSelector : Selector
    {
        static readonly short ANY_NODE = 201;

        /**
         * The node type to considered in the siblings list.
         * All DOM node types are supported. In order to support the "any" node
         * type, the code ANY_NODE is added to the DOM node types.
         */
        public abstract short getNodeType();

        /**
         * Returns the first selector.
         */
        public abstract Selector getSelector();

        /*
         * Returns the second selector.
         */
        public abstract SimpleSelector getSiblingSelector();
    }
}
